﻿<Window x:Class="HM.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Household Manager"
        SizeToContent="WidthAndHeight"
        Background="Gray"
        Icon="..\Resources\house.png"
        xmlns:local="clr-namespace:HM.UI.Windows"
        xmlns:userControls="clr-namespace:HM.UI.UserControls">

    <Grid>
        <TabControl>
            <!--Home-->
            <TabItem>
                <TabItem.Header>
                    <WrapPanel>
                        <Image Source="../Resources/Icons/home.png" Width="32" Height="32" RenderOptions.BitmapScalingMode="NearestNeighbor" Margin="0 0 5 0" />
                        <TextBlock Text="Home" VerticalAlignment="Center" />
                    </WrapPanel>
                </TabItem.Header>
                <userControls:HomeTab />
            </TabItem>

            <!--Reports-->

            <TabItem>
                <TabItem.Header>
                    <WrapPanel>
                        <Image Source="../Resources/Icons/reports.png" Width="32" Height="32"  RenderOptions.BitmapScalingMode="NearestNeighbor" Margin="0 0 5 0" />
                        <TextBlock Text="Reports" VerticalAlignment="Center" />
                    </WrapPanel>
                </TabItem.Header>
                <userControls:ReportsTab />
            </TabItem>

            <!--Management-->

            <TabItem>
                <TabItem.Header>
                    <WrapPanel>
                        <Image Source="../Resources/Icons/management.png" Width="32" Height="32" RenderOptions.BitmapScalingMode="NearestNeighbor" Margin="0 0 5 0" />
                        <TextBlock Text="Management" VerticalAlignment="Center" />
                    </WrapPanel>
                </TabItem.Header>
<userControls:ManagementTab />
            </TabItem>
        </TabControl>
        <!--<Rectangle Fill="Red" Opacity="0.8"/>-->
    </Grid>
</Window>
